<script setup>
const colors = ['orangered', 'limegreen', 'orange'];
</script>

<template>
    <div class="container">
        <div v-for="item in 100" v-slide-in :key="item" class="item" :style="{ backgroundColor: colors[item % 3] }">
            {{ item }}
        </div>
    </div>
</template>

<style scoped>
.container {
    width: 90vw;
    padding: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item {
    width: 100%;
    height: 30vh;
    border-radius: 0.5rem;
    color: white;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item:not(:last-child) {
    margin-bottom: 2rem;
}

.item:hover {
    box-shadow: 2px 2px 6px gray;
}
</style>